package com.ldapauth.pojo.dto;



import com.ldapauth.pojo.dto.action.TableBodyDTO;

import java.io.Serializable;
import java.util.List;

public class CommonSelectTableDTO implements Serializable {

    /**
     * 需要操作的表名称
     */
    String tableName;

    /**
     * 需要查询的列名称
     */
    List<String> selectColumnNames;

    /**
     * 查询字段，多个拼接and查询
     */
    List<TableBodyDTO> wheres;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public List<String> getSelectColumnNames() {
        return selectColumnNames;
    }

    public void setSelectColumnNames(List<String> selectColumnNames) {
        this.selectColumnNames = selectColumnNames;
    }

    public List<TableBodyDTO> getWheres() {
        return wheres;
    }

    public void setWheres(List<TableBodyDTO> whereStrs) {
        this.wheres = whereStrs;
    }
}
